package com.example.administrator.yuejian_2.interservice;

import com.example.administrator.yuejian_2.bean.ContestDetailBean;
import com.example.administrator.yuejian_2.bean.ContestListBean;

import java.util.List;
import retrofit2.Call;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/10/11.
 */

public interface ContestService {
    @POST("contest/contestlist")
    Call<List<ContestListBean>> contestlist();

    @POST("contest/getcontest")
    Call<ContestDetailBean> getcontest(@Query("con_id") int con_id);
}
